package com.sgb.kjwl.view.ui.adapter.self.packers;

import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;

import androidx.databinding.library.baseAdapters.BR;

import com.sgb.kjwl.R;
import com.sgb.kjwl.databinding.LayoutRecyclerFlowLayoutBinding;
import com.sgb.kjwl.model.entity.self.SelfTeamIntroduceEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class FlowLayoutAdapter0 extends BaseRecycleAdapter<String> {

    private boolean isDelete;

    public FlowLayoutAdapter0(Context context, List<String> datas) {
        super(context, R.layout.layout_recycler_flow_layout0, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final String entity) {
        holder.setBinding(BR.viewModel, entity);
    }

    public boolean isDelete() {
        return isDelete;
    }

    public void setDelete(boolean delete) {
        isDelete = delete;
        notifyDataSetChanged();
    }
}
